<template>
    <div class = "dprogress">
      <div class="name">{{name}}</div>
      <progress class="pro" :value="value" :max="max"></progress>
      <div class="number">{{value}}/{{max}}</div>
    </div>
</template>

<script>
    export default {
      name: "dprogress",
      props: {
        value:Number,
        max:Number,
        name:String
      },
    }
</script>

<style scoped>
  .dprogress{
    width: 100%;
    margin-top: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
  }
  .name{
    color: #25f3e6;
    font-size: 16px;
  }
  .pro{
    width: 150px;
  }
  .number{
    color: #C1473F;
    font-size: 16px;
  }
</style>
